package com.qingsong.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.web.multipart.MultipartFile;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author qingsong
 */
@Schema(description = "资产上传图片DTO")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AssetsUploadDTO implements Serializable {
    @NotNull
    @Schema(description = "资产主键")
    private Long id;

    @Schema(description = "资产图片")
    private MultipartFile pictureFile;

}

